package com.net.xpay.common.manager.sync;

import com.net.common.manager.DomainManager;
import com.net.xpay.common.domain.sync.CommonUserWithdrawRecord;
import com.net.xpay.common.model.search.CommonUserWithdrawSearchModel;

import java.time.LocalDateTime;
import java.util.List;


/**
 * @author 86188
 */
public interface CommonUserWithdrawRecordManager extends DomainManager<Long, CommonUserWithdrawRecord> {

    List<CommonUserWithdrawRecord> search(CommonUserWithdrawSearchModel searchModel);

    long searchCount(CommonUserWithdrawSearchModel searchModel);

    long sumSuccessTransferMoney(Long userId, LocalDateTime minEndTime,LocalDateTime maxEndTime);
}
